package com.sunfeng.n4.sync;

/**
 * 线程八锁第四种情况
 *
 * @author sunfeng
 * @date 2021/03/18 14:28
 **/
public class Test8Lock4 {
    public static void main(String[] args) {

        //对象锁  和类锁

    }
}
class Number{

    public synchronized void a(){

    }

    public synchronized void b(){

    }

}